package cn.kgc.kmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cn.kgc.common.utils.PageUtils;
import cn.kgc.kmall.product.entity.CategoryBrandRelationEntity;

import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author chenkaifeng
 * @email 403707110@qq.com
 * @date 2022-04-06 15:13:25
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //保存关联关系
    void saveDetail(CategoryBrandRelationEntity categoryBrandRelationEntity);

    //保证冗余字段的一致
    void updateBrand(Long brandId,String name);

    void updateCategory(Long catId, String name);
}

